package assignment5;

public abstract class GoodsInfo {
	protected String GoodsName;
	protected double Price;
	public GoodsInfo(String GoodsName, double Price) {
		this.GoodsName = GoodsName;
		this.Price = Price;
	}
	public void Show() {
		System.out.print(GoodsName+'\t'+"$"+Price+'\t');
	}
}